project(sims)

set(CMAKE_BUILD_TYPE "Debug")

if(UNIX)
	set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g -ggdb")
elseif(WIN32)
	add_definitions("-D_CRT_SECURE_NO_DEPRECATE" "-D_DEBUG")
endif(UNIX)

set(SRC_DIR "src")
include_directories("src")

set(
	MAIN_LIST
	${SRC_DIR}/ui.cpp
	${SRC_DIR}/main.cpp
	${SRC_DIR}/store.cpp
	${SRC_DIR}/utils.cpp
)

add_executable(sims ${MAIN_LIST})
